package com.shen.service;

import com.shen.pojo.Student;

import java.util.List;

/**
 * Author:shen
 * CreateDate:2020/7/2.
 * Function:
 */
public interface StudentDao {
    //新增学生
    int insertStudent(Student student);
    //根据id查询学生
    Student selectStudentById(int id);
    //修改学生信息
    int updateStudent(Student student);
    //查询所有学生信息
    List<Student> getAllStudent(int pageNum,int pageSize);

}
